package com.citcc4.traffic.data.domain.user;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class RealtimeVideoEntityExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Integer pageNo = 1;

    protected Integer startRow;

    protected Integer pageSize = 10;

    protected String fields;

    public RealtimeVideoEntityExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setPageNo(Integer pageNo) {
        this.pageNo=pageNo;
        this.startRow = (pageNo-1)*this.pageSize;
    }

    public Integer getPageNo() {
        return pageNo;
    }

    public void setStartRow(Integer startRow) {
        this.startRow=startRow;
    }

    public Integer getStartRow() {
        return startRow;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize=pageSize;
        this.startRow = (pageNo-1)*this.pageSize;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setFields(String fields) {
        this.fields=fields;
    }

    public String getFields() {
        return fields;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andVideoIdIsNull() {
            addCriterion("VIDEO_ID is null");
            return (Criteria) this;
        }

        public Criteria andVideoIdIsNotNull() {
            addCriterion("VIDEO_ID is not null");
            return (Criteria) this;
        }

        public Criteria andVideoIdEqualTo(String value) {
            addCriterion("VIDEO_ID =", value, "videoId");
            return (Criteria) this;
        }

        public Criteria andVideoIdNotEqualTo(String value) {
            addCriterion("VIDEO_ID <>", value, "videoId");
            return (Criteria) this;
        }

        public Criteria andVideoIdGreaterThan(String value) {
            addCriterion("VIDEO_ID >", value, "videoId");
            return (Criteria) this;
        }

        public Criteria andVideoIdGreaterThanOrEqualTo(String value) {
            addCriterion("VIDEO_ID >=", value, "videoId");
            return (Criteria) this;
        }

        public Criteria andVideoIdLessThan(String value) {
            addCriterion("VIDEO_ID <", value, "videoId");
            return (Criteria) this;
        }

        public Criteria andVideoIdLessThanOrEqualTo(String value) {
            addCriterion("VIDEO_ID <=", value, "videoId");
            return (Criteria) this;
        }

        public Criteria andVideoIdLike(String value) {
            addCriterion("VIDEO_ID like", value, "videoId");
            return (Criteria) this;
        }

        public Criteria andVideoIdNotLike(String value) {
            addCriterion("VIDEO_ID not like", value, "videoId");
            return (Criteria) this;
        }

        public Criteria andVideoIdIn(List<String> values) {
            addCriterion("VIDEO_ID in", values, "videoId");
            return (Criteria) this;
        }

        public Criteria andVideoIdNotIn(List<String> values) {
            addCriterion("VIDEO_ID not in", values, "videoId");
            return (Criteria) this;
        }

        public Criteria andVideoIdBetween(String value1, String value2) {
            addCriterion("VIDEO_ID between", value1, value2, "videoId");
            return (Criteria) this;
        }

        public Criteria andVideoIdNotBetween(String value1, String value2) {
            addCriterion("VIDEO_ID not between", value1, value2, "videoId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdIsNull() {
            addCriterion("DEVICE_ID is null");
            return (Criteria) this;
        }

        public Criteria andDeviceIdIsNotNull() {
            addCriterion("DEVICE_ID is not null");
            return (Criteria) this;
        }

        public Criteria andDeviceIdEqualTo(String value) {
            addCriterion("DEVICE_ID =", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdNotEqualTo(String value) {
            addCriterion("DEVICE_ID <>", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdGreaterThan(String value) {
            addCriterion("DEVICE_ID >", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdGreaterThanOrEqualTo(String value) {
            addCriterion("DEVICE_ID >=", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdLessThan(String value) {
            addCriterion("DEVICE_ID <", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdLessThanOrEqualTo(String value) {
            addCriterion("DEVICE_ID <=", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdLike(String value) {
            addCriterion("DEVICE_ID like", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdNotLike(String value) {
            addCriterion("DEVICE_ID not like", value, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdIn(List<String> values) {
            addCriterion("DEVICE_ID in", values, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdNotIn(List<String> values) {
            addCriterion("DEVICE_ID not in", values, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdBetween(String value1, String value2) {
            addCriterion("DEVICE_ID between", value1, value2, "deviceId");
            return (Criteria) this;
        }

        public Criteria andDeviceIdNotBetween(String value1, String value2) {
            addCriterion("DEVICE_ID not between", value1, value2, "deviceId");
            return (Criteria) this;
        }

        public Criteria andVideoFileNameIsNull() {
            addCriterion("VIDEO_FILE_NAME is null");
            return (Criteria) this;
        }

        public Criteria andVideoFileNameIsNotNull() {
            addCriterion("VIDEO_FILE_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andVideoFileNameEqualTo(String value) {
            addCriterion("VIDEO_FILE_NAME =", value, "videoFileName");
            return (Criteria) this;
        }

        public Criteria andVideoFileNameNotEqualTo(String value) {
            addCriterion("VIDEO_FILE_NAME <>", value, "videoFileName");
            return (Criteria) this;
        }

        public Criteria andVideoFileNameGreaterThan(String value) {
            addCriterion("VIDEO_FILE_NAME >", value, "videoFileName");
            return (Criteria) this;
        }

        public Criteria andVideoFileNameGreaterThanOrEqualTo(String value) {
            addCriterion("VIDEO_FILE_NAME >=", value, "videoFileName");
            return (Criteria) this;
        }

        public Criteria andVideoFileNameLessThan(String value) {
            addCriterion("VIDEO_FILE_NAME <", value, "videoFileName");
            return (Criteria) this;
        }

        public Criteria andVideoFileNameLessThanOrEqualTo(String value) {
            addCriterion("VIDEO_FILE_NAME <=", value, "videoFileName");
            return (Criteria) this;
        }

        public Criteria andVideoFileNameLike(String value) {
            addCriterion("VIDEO_FILE_NAME like", value, "videoFileName");
            return (Criteria) this;
        }

        public Criteria andVideoFileNameNotLike(String value) {
            addCriterion("VIDEO_FILE_NAME not like", value, "videoFileName");
            return (Criteria) this;
        }

        public Criteria andVideoFileNameIn(List<String> values) {
            addCriterion("VIDEO_FILE_NAME in", values, "videoFileName");
            return (Criteria) this;
        }

        public Criteria andVideoFileNameNotIn(List<String> values) {
            addCriterion("VIDEO_FILE_NAME not in", values, "videoFileName");
            return (Criteria) this;
        }

        public Criteria andVideoFileNameBetween(String value1, String value2) {
            addCriterion("VIDEO_FILE_NAME between", value1, value2, "videoFileName");
            return (Criteria) this;
        }

        public Criteria andVideoFileNameNotBetween(String value1, String value2) {
            addCriterion("VIDEO_FILE_NAME not between", value1, value2, "videoFileName");
            return (Criteria) this;
        }

        public Criteria andVideoSizeIsNull() {
            addCriterion("VIDEO_SIZE is null");
            return (Criteria) this;
        }

        public Criteria andVideoSizeIsNotNull() {
            addCriterion("VIDEO_SIZE is not null");
            return (Criteria) this;
        }

        public Criteria andVideoSizeEqualTo(BigDecimal value) {
            addCriterion("VIDEO_SIZE =", value, "videoSize");
            return (Criteria) this;
        }

        public Criteria andVideoSizeNotEqualTo(BigDecimal value) {
            addCriterion("VIDEO_SIZE <>", value, "videoSize");
            return (Criteria) this;
        }

        public Criteria andVideoSizeGreaterThan(BigDecimal value) {
            addCriterion("VIDEO_SIZE >", value, "videoSize");
            return (Criteria) this;
        }

        public Criteria andVideoSizeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("VIDEO_SIZE >=", value, "videoSize");
            return (Criteria) this;
        }

        public Criteria andVideoSizeLessThan(BigDecimal value) {
            addCriterion("VIDEO_SIZE <", value, "videoSize");
            return (Criteria) this;
        }

        public Criteria andVideoSizeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("VIDEO_SIZE <=", value, "videoSize");
            return (Criteria) this;
        }

        public Criteria andVideoSizeIn(List<BigDecimal> values) {
            addCriterion("VIDEO_SIZE in", values, "videoSize");
            return (Criteria) this;
        }

        public Criteria andVideoSizeNotIn(List<BigDecimal> values) {
            addCriterion("VIDEO_SIZE not in", values, "videoSize");
            return (Criteria) this;
        }

        public Criteria andVideoSizeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("VIDEO_SIZE between", value1, value2, "videoSize");
            return (Criteria) this;
        }

        public Criteria andVideoSizeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("VIDEO_SIZE not between", value1, value2, "videoSize");
            return (Criteria) this;
        }

        public Criteria andRealStartTimeIsNull() {
            addCriterion("REAL_START_TIME is null");
            return (Criteria) this;
        }

        public Criteria andRealStartTimeIsNotNull() {
            addCriterion("REAL_START_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andRealStartTimeEqualTo(Date value) {
            addCriterion("REAL_START_TIME =", value, "realStartTime");
            return (Criteria) this;
        }

        public Criteria andRealStartTimeNotEqualTo(Date value) {
            addCriterion("REAL_START_TIME <>", value, "realStartTime");
            return (Criteria) this;
        }

        public Criteria andRealStartTimeGreaterThan(Date value) {
            addCriterion("REAL_START_TIME >", value, "realStartTime");
            return (Criteria) this;
        }

        public Criteria andRealStartTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("REAL_START_TIME >=", value, "realStartTime");
            return (Criteria) this;
        }

        public Criteria andRealStartTimeLessThan(Date value) {
            addCriterion("REAL_START_TIME <", value, "realStartTime");
            return (Criteria) this;
        }

        public Criteria andRealStartTimeLessThanOrEqualTo(Date value) {
            addCriterion("REAL_START_TIME <=", value, "realStartTime");
            return (Criteria) this;
        }

        public Criteria andRealStartTimeIn(List<Date> values) {
            addCriterion("REAL_START_TIME in", values, "realStartTime");
            return (Criteria) this;
        }

        public Criteria andRealStartTimeNotIn(List<Date> values) {
            addCriterion("REAL_START_TIME not in", values, "realStartTime");
            return (Criteria) this;
        }

        public Criteria andRealStartTimeBetween(Date value1, Date value2) {
            addCriterion("REAL_START_TIME between", value1, value2, "realStartTime");
            return (Criteria) this;
        }

        public Criteria andRealStartTimeNotBetween(Date value1, Date value2) {
            addCriterion("REAL_START_TIME not between", value1, value2, "realStartTime");
            return (Criteria) this;
        }

        public Criteria andRealEndTimeIsNull() {
            addCriterion("REAL_END_TIME is null");
            return (Criteria) this;
        }

        public Criteria andRealEndTimeIsNotNull() {
            addCriterion("REAL_END_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andRealEndTimeEqualTo(Date value) {
            addCriterion("REAL_END_TIME =", value, "realEndTime");
            return (Criteria) this;
        }

        public Criteria andRealEndTimeNotEqualTo(Date value) {
            addCriterion("REAL_END_TIME <>", value, "realEndTime");
            return (Criteria) this;
        }

        public Criteria andRealEndTimeGreaterThan(Date value) {
            addCriterion("REAL_END_TIME >", value, "realEndTime");
            return (Criteria) this;
        }

        public Criteria andRealEndTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("REAL_END_TIME >=", value, "realEndTime");
            return (Criteria) this;
        }

        public Criteria andRealEndTimeLessThan(Date value) {
            addCriterion("REAL_END_TIME <", value, "realEndTime");
            return (Criteria) this;
        }

        public Criteria andRealEndTimeLessThanOrEqualTo(Date value) {
            addCriterion("REAL_END_TIME <=", value, "realEndTime");
            return (Criteria) this;
        }

        public Criteria andRealEndTimeIn(List<Date> values) {
            addCriterion("REAL_END_TIME in", values, "realEndTime");
            return (Criteria) this;
        }

        public Criteria andRealEndTimeNotIn(List<Date> values) {
            addCriterion("REAL_END_TIME not in", values, "realEndTime");
            return (Criteria) this;
        }

        public Criteria andRealEndTimeBetween(Date value1, Date value2) {
            addCriterion("REAL_END_TIME between", value1, value2, "realEndTime");
            return (Criteria) this;
        }

        public Criteria andRealEndTimeNotBetween(Date value1, Date value2) {
            addCriterion("REAL_END_TIME not between", value1, value2, "realEndTime");
            return (Criteria) this;
        }

        public Criteria andPrioritizedImageIdsIsNull() {
            addCriterion("PRIORITIZED_IMAGE_IDS is null");
            return (Criteria) this;
        }

        public Criteria andPrioritizedImageIdsIsNotNull() {
            addCriterion("PRIORITIZED_IMAGE_IDS is not null");
            return (Criteria) this;
        }

        public Criteria andPrioritizedImageIdsEqualTo(String value) {
            addCriterion("PRIORITIZED_IMAGE_IDS =", value, "prioritizedImageIds");
            return (Criteria) this;
        }

        public Criteria andPrioritizedImageIdsNotEqualTo(String value) {
            addCriterion("PRIORITIZED_IMAGE_IDS <>", value, "prioritizedImageIds");
            return (Criteria) this;
        }

        public Criteria andPrioritizedImageIdsGreaterThan(String value) {
            addCriterion("PRIORITIZED_IMAGE_IDS >", value, "prioritizedImageIds");
            return (Criteria) this;
        }

        public Criteria andPrioritizedImageIdsGreaterThanOrEqualTo(String value) {
            addCriterion("PRIORITIZED_IMAGE_IDS >=", value, "prioritizedImageIds");
            return (Criteria) this;
        }

        public Criteria andPrioritizedImageIdsLessThan(String value) {
            addCriterion("PRIORITIZED_IMAGE_IDS <", value, "prioritizedImageIds");
            return (Criteria) this;
        }

        public Criteria andPrioritizedImageIdsLessThanOrEqualTo(String value) {
            addCriterion("PRIORITIZED_IMAGE_IDS <=", value, "prioritizedImageIds");
            return (Criteria) this;
        }

        public Criteria andPrioritizedImageIdsLike(String value) {
            addCriterion("PRIORITIZED_IMAGE_IDS like", value, "prioritizedImageIds");
            return (Criteria) this;
        }

        public Criteria andPrioritizedImageIdsNotLike(String value) {
            addCriterion("PRIORITIZED_IMAGE_IDS not like", value, "prioritizedImageIds");
            return (Criteria) this;
        }

        public Criteria andPrioritizedImageIdsIn(List<String> values) {
            addCriterion("PRIORITIZED_IMAGE_IDS in", values, "prioritizedImageIds");
            return (Criteria) this;
        }

        public Criteria andPrioritizedImageIdsNotIn(List<String> values) {
            addCriterion("PRIORITIZED_IMAGE_IDS not in", values, "prioritizedImageIds");
            return (Criteria) this;
        }

        public Criteria andPrioritizedImageIdsBetween(String value1, String value2) {
            addCriterion("PRIORITIZED_IMAGE_IDS between", value1, value2, "prioritizedImageIds");
            return (Criteria) this;
        }

        public Criteria andPrioritizedImageIdsNotBetween(String value1, String value2) {
            addCriterion("PRIORITIZED_IMAGE_IDS not between", value1, value2, "prioritizedImageIds");
            return (Criteria) this;
        }

        public Criteria andAllCompletedIsNull() {
            addCriterion("ALL_COMPLETED is null");
            return (Criteria) this;
        }

        public Criteria andAllCompletedIsNotNull() {
            addCriterion("ALL_COMPLETED is not null");
            return (Criteria) this;
        }

        public Criteria andAllCompletedEqualTo(BigDecimal value) {
            addCriterion("ALL_COMPLETED =", value, "allCompleted");
            return (Criteria) this;
        }

        public Criteria andAllCompletedNotEqualTo(BigDecimal value) {
            addCriterion("ALL_COMPLETED <>", value, "allCompleted");
            return (Criteria) this;
        }

        public Criteria andAllCompletedGreaterThan(BigDecimal value) {
            addCriterion("ALL_COMPLETED >", value, "allCompleted");
            return (Criteria) this;
        }

        public Criteria andAllCompletedGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("ALL_COMPLETED >=", value, "allCompleted");
            return (Criteria) this;
        }

        public Criteria andAllCompletedLessThan(BigDecimal value) {
            addCriterion("ALL_COMPLETED <", value, "allCompleted");
            return (Criteria) this;
        }

        public Criteria andAllCompletedLessThanOrEqualTo(BigDecimal value) {
            addCriterion("ALL_COMPLETED <=", value, "allCompleted");
            return (Criteria) this;
        }

        public Criteria andAllCompletedIn(List<BigDecimal> values) {
            addCriterion("ALL_COMPLETED in", values, "allCompleted");
            return (Criteria) this;
        }

        public Criteria andAllCompletedNotIn(List<BigDecimal> values) {
            addCriterion("ALL_COMPLETED not in", values, "allCompleted");
            return (Criteria) this;
        }

        public Criteria andAllCompletedBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("ALL_COMPLETED between", value1, value2, "allCompleted");
            return (Criteria) this;
        }

        public Criteria andAllCompletedNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("ALL_COMPLETED not between", value1, value2, "allCompleted");
            return (Criteria) this;
        }

        public Criteria andLongitudeIsNull() {
            addCriterion("LONGITUDE is null");
            return (Criteria) this;
        }

        public Criteria andLongitudeIsNotNull() {
            addCriterion("LONGITUDE is not null");
            return (Criteria) this;
        }

        public Criteria andLongitudeEqualTo(String value) {
            addCriterion("LONGITUDE =", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeNotEqualTo(String value) {
            addCriterion("LONGITUDE <>", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeGreaterThan(String value) {
            addCriterion("LONGITUDE >", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeGreaterThanOrEqualTo(String value) {
            addCriterion("LONGITUDE >=", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeLessThan(String value) {
            addCriterion("LONGITUDE <", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeLessThanOrEqualTo(String value) {
            addCriterion("LONGITUDE <=", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeLike(String value) {
            addCriterion("LONGITUDE like", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeNotLike(String value) {
            addCriterion("LONGITUDE not like", value, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeIn(List<String> values) {
            addCriterion("LONGITUDE in", values, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeNotIn(List<String> values) {
            addCriterion("LONGITUDE not in", values, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeBetween(String value1, String value2) {
            addCriterion("LONGITUDE between", value1, value2, "longitude");
            return (Criteria) this;
        }

        public Criteria andLongitudeNotBetween(String value1, String value2) {
            addCriterion("LONGITUDE not between", value1, value2, "longitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeIsNull() {
            addCriterion("LATITUDE is null");
            return (Criteria) this;
        }

        public Criteria andLatitudeIsNotNull() {
            addCriterion("LATITUDE is not null");
            return (Criteria) this;
        }

        public Criteria andLatitudeEqualTo(String value) {
            addCriterion("LATITUDE =", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeNotEqualTo(String value) {
            addCriterion("LATITUDE <>", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeGreaterThan(String value) {
            addCriterion("LATITUDE >", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeGreaterThanOrEqualTo(String value) {
            addCriterion("LATITUDE >=", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeLessThan(String value) {
            addCriterion("LATITUDE <", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeLessThanOrEqualTo(String value) {
            addCriterion("LATITUDE <=", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeLike(String value) {
            addCriterion("LATITUDE like", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeNotLike(String value) {
            addCriterion("LATITUDE not like", value, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeIn(List<String> values) {
            addCriterion("LATITUDE in", values, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeNotIn(List<String> values) {
            addCriterion("LATITUDE not in", values, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeBetween(String value1, String value2) {
            addCriterion("LATITUDE between", value1, value2, "latitude");
            return (Criteria) this;
        }

        public Criteria andLatitudeNotBetween(String value1, String value2) {
            addCriterion("LATITUDE not between", value1, value2, "latitude");
            return (Criteria) this;
        }

        public Criteria andLocationTimeoutIsNull() {
            addCriterion("LOCATION_TIMEOUT is null");
            return (Criteria) this;
        }

        public Criteria andLocationTimeoutIsNotNull() {
            addCriterion("LOCATION_TIMEOUT is not null");
            return (Criteria) this;
        }

        public Criteria andLocationTimeoutEqualTo(Short value) {
            addCriterion("LOCATION_TIMEOUT =", value, "locationTimeout");
            return (Criteria) this;
        }

        public Criteria andLocationTimeoutNotEqualTo(Short value) {
            addCriterion("LOCATION_TIMEOUT <>", value, "locationTimeout");
            return (Criteria) this;
        }

        public Criteria andLocationTimeoutGreaterThan(Short value) {
            addCriterion("LOCATION_TIMEOUT >", value, "locationTimeout");
            return (Criteria) this;
        }

        public Criteria andLocationTimeoutGreaterThanOrEqualTo(Short value) {
            addCriterion("LOCATION_TIMEOUT >=", value, "locationTimeout");
            return (Criteria) this;
        }

        public Criteria andLocationTimeoutLessThan(Short value) {
            addCriterion("LOCATION_TIMEOUT <", value, "locationTimeout");
            return (Criteria) this;
        }

        public Criteria andLocationTimeoutLessThanOrEqualTo(Short value) {
            addCriterion("LOCATION_TIMEOUT <=", value, "locationTimeout");
            return (Criteria) this;
        }

        public Criteria andLocationTimeoutIn(List<Short> values) {
            addCriterion("LOCATION_TIMEOUT in", values, "locationTimeout");
            return (Criteria) this;
        }

        public Criteria andLocationTimeoutNotIn(List<Short> values) {
            addCriterion("LOCATION_TIMEOUT not in", values, "locationTimeout");
            return (Criteria) this;
        }

        public Criteria andLocationTimeoutBetween(Short value1, Short value2) {
            addCriterion("LOCATION_TIMEOUT between", value1, value2, "locationTimeout");
            return (Criteria) this;
        }

        public Criteria andLocationTimeoutNotBetween(Short value1, Short value2) {
            addCriterion("LOCATION_TIMEOUT not between", value1, value2, "locationTimeout");
            return (Criteria) this;
        }

        public Criteria andIsdeleteIsNull() {
            addCriterion("ISDELETE is null");
            return (Criteria) this;
        }

        public Criteria andIsdeleteIsNotNull() {
            addCriterion("ISDELETE is not null");
            return (Criteria) this;
        }

        public Criteria andIsdeleteEqualTo(String value) {
            addCriterion("ISDELETE =", value, "isdelete");
            return (Criteria) this;
        }

        public Criteria andIsdeleteNotEqualTo(String value) {
            addCriterion("ISDELETE <>", value, "isdelete");
            return (Criteria) this;
        }

        public Criteria andIsdeleteGreaterThan(String value) {
            addCriterion("ISDELETE >", value, "isdelete");
            return (Criteria) this;
        }

        public Criteria andIsdeleteGreaterThanOrEqualTo(String value) {
            addCriterion("ISDELETE >=", value, "isdelete");
            return (Criteria) this;
        }

        public Criteria andIsdeleteLessThan(String value) {
            addCriterion("ISDELETE <", value, "isdelete");
            return (Criteria) this;
        }

        public Criteria andIsdeleteLessThanOrEqualTo(String value) {
            addCriterion("ISDELETE <=", value, "isdelete");
            return (Criteria) this;
        }

        public Criteria andIsdeleteLike(String value) {
            addCriterion("ISDELETE like", value, "isdelete");
            return (Criteria) this;
        }

        public Criteria andIsdeleteNotLike(String value) {
            addCriterion("ISDELETE not like", value, "isdelete");
            return (Criteria) this;
        }

        public Criteria andIsdeleteIn(List<String> values) {
            addCriterion("ISDELETE in", values, "isdelete");
            return (Criteria) this;
        }

        public Criteria andIsdeleteNotIn(List<String> values) {
            addCriterion("ISDELETE not in", values, "isdelete");
            return (Criteria) this;
        }

        public Criteria andIsdeleteBetween(String value1, String value2) {
            addCriterion("ISDELETE between", value1, value2, "isdelete");
            return (Criteria) this;
        }

        public Criteria andIsdeleteNotBetween(String value1, String value2) {
            addCriterion("ISDELETE not between", value1, value2, "isdelete");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("CREATE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("CREATE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterionForJDBCDate("CREATE_TIME =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterionForJDBCDate("CREATE_TIME <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterionForJDBCDate("CREATE_TIME >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("CREATE_TIME >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterionForJDBCDate("CREATE_TIME <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("CREATE_TIME <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterionForJDBCDate("CREATE_TIME in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterionForJDBCDate("CREATE_TIME not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("CREATE_TIME between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("CREATE_TIME not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("UPDATE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("UPDATE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("UPDATE_TIME =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("UPDATE_TIME <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("UPDATE_TIME >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("UPDATE_TIME >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("UPDATE_TIME <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("UPDATE_TIME <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("UPDATE_TIME in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("UPDATE_TIME not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("UPDATE_TIME between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("UPDATE_TIME not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andVideoAddressIsNull() {
            addCriterion("VIDEO_ADDRESS is null");
            return (Criteria) this;
        }

        public Criteria andVideoAddressIsNotNull() {
            addCriterion("VIDEO_ADDRESS is not null");
            return (Criteria) this;
        }

        public Criteria andVideoAddressEqualTo(String value) {
            addCriterion("VIDEO_ADDRESS =", value, "videoAddress");
            return (Criteria) this;
        }

        public Criteria andVideoAddressNotEqualTo(String value) {
            addCriterion("VIDEO_ADDRESS <>", value, "videoAddress");
            return (Criteria) this;
        }

        public Criteria andVideoAddressGreaterThan(String value) {
            addCriterion("VIDEO_ADDRESS >", value, "videoAddress");
            return (Criteria) this;
        }

        public Criteria andVideoAddressGreaterThanOrEqualTo(String value) {
            addCriterion("VIDEO_ADDRESS >=", value, "videoAddress");
            return (Criteria) this;
        }

        public Criteria andVideoAddressLessThan(String value) {
            addCriterion("VIDEO_ADDRESS <", value, "videoAddress");
            return (Criteria) this;
        }

        public Criteria andVideoAddressLessThanOrEqualTo(String value) {
            addCriterion("VIDEO_ADDRESS <=", value, "videoAddress");
            return (Criteria) this;
        }

        public Criteria andVideoAddressLike(String value) {
            addCriterion("VIDEO_ADDRESS like", value, "videoAddress");
            return (Criteria) this;
        }

        public Criteria andVideoAddressNotLike(String value) {
            addCriterion("VIDEO_ADDRESS not like", value, "videoAddress");
            return (Criteria) this;
        }

        public Criteria andVideoAddressIn(List<String> values) {
            addCriterion("VIDEO_ADDRESS in", values, "videoAddress");
            return (Criteria) this;
        }

        public Criteria andVideoAddressNotIn(List<String> values) {
            addCriterion("VIDEO_ADDRESS not in", values, "videoAddress");
            return (Criteria) this;
        }

        public Criteria andVideoAddressBetween(String value1, String value2) {
            addCriterion("VIDEO_ADDRESS between", value1, value2, "videoAddress");
            return (Criteria) this;
        }

        public Criteria andVideoAddressNotBetween(String value1, String value2) {
            addCriterion("VIDEO_ADDRESS not between", value1, value2, "videoAddress");
            return (Criteria) this;
        }

        public Criteria andIsAvailableIsNull() {
            addCriterion("IS_AVAILABLE is null");
            return (Criteria) this;
        }

        public Criteria andIsAvailableIsNotNull() {
            addCriterion("IS_AVAILABLE is not null");
            return (Criteria) this;
        }

        public Criteria andIsAvailableEqualTo(String value) {
            addCriterion("IS_AVAILABLE =", value, "isAvailable");
            return (Criteria) this;
        }

        public Criteria andIsAvailableNotEqualTo(String value) {
            addCriterion("IS_AVAILABLE <>", value, "isAvailable");
            return (Criteria) this;
        }

        public Criteria andIsAvailableGreaterThan(String value) {
            addCriterion("IS_AVAILABLE >", value, "isAvailable");
            return (Criteria) this;
        }

        public Criteria andIsAvailableGreaterThanOrEqualTo(String value) {
            addCriterion("IS_AVAILABLE >=", value, "isAvailable");
            return (Criteria) this;
        }

        public Criteria andIsAvailableLessThan(String value) {
            addCriterion("IS_AVAILABLE <", value, "isAvailable");
            return (Criteria) this;
        }

        public Criteria andIsAvailableLessThanOrEqualTo(String value) {
            addCriterion("IS_AVAILABLE <=", value, "isAvailable");
            return (Criteria) this;
        }

        public Criteria andIsAvailableLike(String value) {
            addCriterion("IS_AVAILABLE like", value, "isAvailable");
            return (Criteria) this;
        }

        public Criteria andIsAvailableNotLike(String value) {
            addCriterion("IS_AVAILABLE not like", value, "isAvailable");
            return (Criteria) this;
        }

        public Criteria andIsAvailableIn(List<String> values) {
            addCriterion("IS_AVAILABLE in", values, "isAvailable");
            return (Criteria) this;
        }

        public Criteria andIsAvailableNotIn(List<String> values) {
            addCriterion("IS_AVAILABLE not in", values, "isAvailable");
            return (Criteria) this;
        }

        public Criteria andIsAvailableBetween(String value1, String value2) {
            addCriterion("IS_AVAILABLE between", value1, value2, "isAvailable");
            return (Criteria) this;
        }

        public Criteria andIsAvailableNotBetween(String value1, String value2) {
            addCriterion("IS_AVAILABLE not between", value1, value2, "isAvailable");
            return (Criteria) this;
        }

        public Criteria andCarnumTypeIsNull() {
            addCriterion("CARNUM_TYPE is null");
            return (Criteria) this;
        }

        public Criteria andCarnumTypeIsNotNull() {
            addCriterion("CARNUM_TYPE is not null");
            return (Criteria) this;
        }

        public Criteria andCarnumTypeEqualTo(String value) {
            addCriterion("CARNUM_TYPE =", value, "carnumType");
            return (Criteria) this;
        }

        public Criteria andCarnumTypeNotEqualTo(String value) {
            addCriterion("CARNUM_TYPE <>", value, "carnumType");
            return (Criteria) this;
        }

        public Criteria andCarnumTypeGreaterThan(String value) {
            addCriterion("CARNUM_TYPE >", value, "carnumType");
            return (Criteria) this;
        }

        public Criteria andCarnumTypeGreaterThanOrEqualTo(String value) {
            addCriterion("CARNUM_TYPE >=", value, "carnumType");
            return (Criteria) this;
        }

        public Criteria andCarnumTypeLessThan(String value) {
            addCriterion("CARNUM_TYPE <", value, "carnumType");
            return (Criteria) this;
        }

        public Criteria andCarnumTypeLessThanOrEqualTo(String value) {
            addCriterion("CARNUM_TYPE <=", value, "carnumType");
            return (Criteria) this;
        }

        public Criteria andCarnumTypeLike(String value) {
            addCriterion("CARNUM_TYPE like", value, "carnumType");
            return (Criteria) this;
        }

        public Criteria andCarnumTypeNotLike(String value) {
            addCriterion("CARNUM_TYPE not like", value, "carnumType");
            return (Criteria) this;
        }

        public Criteria andCarnumTypeIn(List<String> values) {
            addCriterion("CARNUM_TYPE in", values, "carnumType");
            return (Criteria) this;
        }

        public Criteria andCarnumTypeNotIn(List<String> values) {
            addCriterion("CARNUM_TYPE not in", values, "carnumType");
            return (Criteria) this;
        }

        public Criteria andCarnumTypeBetween(String value1, String value2) {
            addCriterion("CARNUM_TYPE between", value1, value2, "carnumType");
            return (Criteria) this;
        }

        public Criteria andCarnumTypeNotBetween(String value1, String value2) {
            addCriterion("CARNUM_TYPE not between", value1, value2, "carnumType");
            return (Criteria) this;
        }

        public Criteria andStatisticsDateIsNull() {
            addCriterion("STATISTICS_DATE is null");
            return (Criteria) this;
        }

        public Criteria andStatisticsDateIsNotNull() {
            addCriterion("STATISTICS_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andStatisticsDateEqualTo(String value) {
            addCriterion("STATISTICS_DATE =", value, "statisticsDate");
            return (Criteria) this;
        }

        public Criteria andStatisticsDateNotEqualTo(String value) {
            addCriterion("STATISTICS_DATE <>", value, "statisticsDate");
            return (Criteria) this;
        }

        public Criteria andStatisticsDateGreaterThan(String value) {
            addCriterion("STATISTICS_DATE >", value, "statisticsDate");
            return (Criteria) this;
        }

        public Criteria andStatisticsDateGreaterThanOrEqualTo(String value) {
            addCriterion("STATISTICS_DATE >=", value, "statisticsDate");
            return (Criteria) this;
        }

        public Criteria andStatisticsDateLessThan(String value) {
            addCriterion("STATISTICS_DATE <", value, "statisticsDate");
            return (Criteria) this;
        }

        public Criteria andStatisticsDateLessThanOrEqualTo(String value) {
            addCriterion("STATISTICS_DATE <=", value, "statisticsDate");
            return (Criteria) this;
        }

        public Criteria andStatisticsDateLike(String value) {
            addCriterion("STATISTICS_DATE like", value, "statisticsDate");
            return (Criteria) this;
        }

        public Criteria andStatisticsDateNotLike(String value) {
            addCriterion("STATISTICS_DATE not like", value, "statisticsDate");
            return (Criteria) this;
        }

        public Criteria andStatisticsDateIn(List<String> values) {
            addCriterion("STATISTICS_DATE in", values, "statisticsDate");
            return (Criteria) this;
        }

        public Criteria andStatisticsDateNotIn(List<String> values) {
            addCriterion("STATISTICS_DATE not in", values, "statisticsDate");
            return (Criteria) this;
        }

        public Criteria andStatisticsDateBetween(String value1, String value2) {
            addCriterion("STATISTICS_DATE between", value1, value2, "statisticsDate");
            return (Criteria) this;
        }

        public Criteria andStatisticsDateNotBetween(String value1, String value2) {
            addCriterion("STATISTICS_DATE not between", value1, value2, "statisticsDate");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}